<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="/kaoshi/item/insert" method="post" >
	<table border="1px">
		
			<tr>
				<td>产品名称</td>
				<td><input type="text"  name="productname" /></td>
			</tr>
			<tr>
				<td>产品描述</td>
				<td>
					<textarea name="descs" rows="10" cols="22">
					</textarea>
			</tr>
			<tr>
				<td>商品类别</td>
				<td>
					<select name = "cid">
						<c:forEach items="${clist}" var="item">
						<option value="${item.id}" >${item.name}</option>
						</c:forEach>
						
					</select>
				</td>
			</tr>
			<tr>
				<td>状态</td>
				<td><input type="checkbox" value="1"  name="type" />可用</td>
			</tr>
			<tr>
				<td></td>
				<td><input type = "submit" value="提交" /> </td>
			</tr>
		
	</table>
	</form>
</body>
</html>